package com.ang.transaction.controller;

import com.ang.transaction.service.ITestService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class TransactionController {

    @Autowired
    ITestService testService;

    @RequestMapping("/test")
    public String test(){
        testService.test();
        return "success";
    }
}
